<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    alert('请输入姓名')
    let uname = prompt('')
    document.writeln(uname)
    alert('请输入年龄')
    let age = prompt('')
    document.writeln(age)
    alert('请输入家庭住址')
    let address = prompt('')
    document.writeln(address)

  </script>
</body>

</html>